package com.keba.lamp.complaint.vo.query;

import io.swagger.v3.oas.annotations.media.Schema;
import java.time.LocalDateTime;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;
import java.io.Serializable;


/**
 * <p>
 * 表单查询条件VO
 * 诉讼状案件
 * </p>
 *
 * @author chaowu.wang
 * @date 2025-03-28 22:53:03
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@ToString(callSuper = true)
@Accessors(chain = true)
@EqualsAndHashCode
@Builder
@Schema(description = "诉讼状案件")
public class CasePageQuery implements Serializable {

    private static final long serialVersionUID = 1L;

    @Schema(description = "主键")
    private Long id;

    /**
    * 乐观锁
    */
    @Schema(description = "乐观锁")
    private Integer revision;
    /**
    * 是否删除，0-未删除，1-删除
    */
    @Schema(description = "是否删除，0-未删除，1-删除")
    private Integer isDel;
    /**
    * 租户ID
    */
    @Schema(description = "租户ID")
    private Long tenantId;
    /**
    * 起诉状内容
    */
    @Schema(description = "起诉状内容")
    private String complaintContent;
    /**
    * 案件说明
    */
    @Schema(description = "案件说明")
    private String remark;
    /**
    * 案件名称
    */
    @Schema(description = "案件名称")
    private String caseName;
    /**
    * 案件来源;[00-小程序 02-后台创建]@Echo(api = EchoApi.DICTIONARY_ITEM_FEIGN_CLASS, dictType = EchoDictType.System.CASE_SOURCE)
    */
    @Schema(description = "案件来源")
    private String caseSource;
    /**
    * 案件状态;[00-草稿 10-已完成]@Echo(api = EchoApi.DICTIONARY_ITEM_FEIGN_CLASS, dictType = EchoDictType.System.CASE_STATE)
    */
    @Schema(description = "案件状态")
    private String caseState;
    /**
    * 案件类别;[01-贷款 99-其它]@Echo(api = EchoApi.DICTIONARY_ITEM_FEIGN_CLASS, dictType = EchoDictType.System.CASE_TYPE)
    */
    @Schema(description = "案件类别")
    private String caseType;
    /**
    * 业务类型[01-起诉状，02-答辩状 ]@Echo(api = EchoApi.DICTIONARY_ITEM_FEIGN_CLASS, dictType = EchoDictType.System.BIZ_TYPE)
    */
    @Schema(description = "业务类型[01-起诉状，02-答辩状 ]@Echo(api = EchoApi.DICTIONARY_ITEM_FEIGN_CLASS, dictType = EchoDictType.System.BIZ_TYPE)")
    private String bizType;

    /**
     * 原告或被告姓名
     */
    @Schema(description = "原告或被告姓名")
    private String personName;

    /**
     * 渠道客户名称
     */
    @Schema(description = "渠道客户名称")
    private String channelCustomer;

    @Schema(description = "业务类型[01-个人客户案件 02-渠道客户案件]")
    private String businessType;
    /**
     * 三方平台 [01咸鱼、02天猫、03抖音、04快手、20自营]@Echo(api = EchoApi.DICTIONARY_ITEM_FEIGN_CLASS, dictType = EchoDictType.System.THIRD_PLATFORM)
     */
    @Schema(description = "三方平台 [01咸鱼、02天猫、03抖音、04快手、20自营]@Echo(api = EchoApi.DICTIONARY_ITEM_FEIGN_CLASS, dictType = EchoDictType.System.THIRD_PLATFORM)")
    private String thirdPlatform;
    /**
     * 客服人员
     */
    @Schema(description = "客服人员")
    private Long customerService;
    /**
     * 做单员
     */
    @Schema(description = "做单员")
    private Long orderProcessor;
    /**
     * 法院名称
     */
    @Schema(description = "法院名称")
    private String courtName;
    /**
     * 案件备注（不是[案件说明]字段，【案件说明】字段用的是remark）
     */
    @Schema(description = "案件备注（不是[案件说明]字段，【案件说明】字段用的是remark）")
    private String caseRemark;

    /**
     * 聚合搜索
     */
    @Schema(description = "聚合搜索关键词")
    private String aggregateSearch;
}
